package com.yyk.yiliao.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2018/8/24 0024.
 */

public class HomeGetads_Info {


    @Override
    public String toString() {
        return "HomeGetads_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":41,"title":"主任ee","created_at":1534909873,"num":0,"articleimg":{"1":"/upload/article/201808/1534225371_40_1.png","2":"/upload/article/201808/1534225371_40_1.png","3":"/upload/article/201808/1534225371_40_0.png"},"number":3},{"id":40,"title":"山东大药房","created_at":1534225371,"num":0,"number":0},{"id":42,"title":"权限管理员","created_at":1534910002,"num":0,"articleimg":{"1":"/upload/article/201808/1534225371_40_0.png","2":"/upload/article/201808/1534225371_40_0.png","3":"/upload/article/201808/1534225371_40_0.png"},"number":3},{"id":51,"title":"测试标题7","created_at":1534934128,"num":0,"articleimg":{"1":"/upload/article/201808/1534225371_40_0.png","2":"/upload/article/201808/1534225371_40_0.png","3":"/upload/article/201808/1534225371_40_0.png"},"number":3},{"id":52,"title":"测试标题8","created_at":1534934158,"num":0,"articleimg":{"1":"/upload/article/201808/1534225371_40_0.png","2":"/upload/article/201808/1534225371_40_0.png","3":"/upload/article/201808/1534225371_40_0.png"},"number":3},{"id":53,"title":"测试标题4","created_at":1534935119,"num":0,"articleimg":{"1":"/upload/article/201808/1534225371_40_0.png","2":"/upload/article/201808/1534225371_40_0.png"},"number":2},{"id":54,"title":"主任ee","created_at":1534935134,"num":0,"articleimg":{"1":"/upload/article/201808/1534225371_40_1.png"},"number":1},{"id":55,"title":"权限管理员","created_at":1534935148,"num":0,"number":0},{"id":56,"title":"主任ee","created_at":1535371610,"num":0,"articleimg":{"1":"/upload/article/201808/1535371611_56_0.png","2":"/upload/article/201808/1535371611_56_1.png"},"number":2}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 41
         * title : 主任ee
         * created_at : 1534909873
         * num : 0
         * articleimg : {"1":"/upload/article/201808/1534225371_40_1.png","2":"/upload/article/201808/1534225371_40_1.png","3":"/upload/article/201808/1534225371_40_0.png"}
         * number : 3
         */
        public int type;

        @Override
        public String toString() {
            return "DataBean{" +
                    "type=" + type +
                    ", id=" + id +
                    ", title='" + title + '\'' +
                    ", created_at=" + created_at +
                    ", num=" + num +
                    ", articleimg=" + articleimg +
                    ", number=" + number +
                    '}';
        }

        private int id;
        private String title;
        private int created_at;
        private int num;
        private ArticleimgBean articleimg;
        private int number;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getCreated_at() {
            return created_at;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public ArticleimgBean getArticleimg() {
            return articleimg;
        }

        public void setArticleimg(ArticleimgBean articleimg) {
            this.articleimg = articleimg;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public static class ArticleimgBean {
            @Override
            public String toString() {
                return "ArticleimgBean{" +
                        "_$1='" + _$1 + '\'' +
                        ", _$2='" + _$2 + '\'' +
                        ", _$3='" + _$3 + '\'' +
                        '}';
            }

            /**
             * 1 : /upload/article/201808/1534225371_40_1.png
             * 2 : /upload/article/201808/1534225371_40_1.png
             * 3 : /upload/article/201808/1534225371_40_0.png
             */

            @SerializedName("1")
            private String _$1;
            @SerializedName("2")
            private String _$2;
            @SerializedName("3")
            private String _$3;

            public String get_$1() {
                return _$1;
            }

            public void set_$1(String _$1) {
                this._$1 = _$1;
            }

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$3() {
                return _$3;
            }

            public void set_$3(String _$3) {
                this._$3 = _$3;
            }
        }
    }
}
